/*
 * 
 * LegendShop 多用户商城系统
 * 
 *  版权所有,并保留所有权利。
 * 
 */
package com.legendshop.oa.dto;

import java.util.Date;

/**
 * 查询任务列表.
 */
public class TaskQueryDto extends AbstractQueryDto{
	
	private static final long serialVersionUID = -5267277816859604061L;

	/** 任务主键 */
	private Long id; 
		
	/** 项目Id */
	private Long projectId; 
		
	/** 项目模块Id */
	private Long moduleId;


	/** 里程碑Id */
	private Long planId;

	/** 任务名称 */
	private String name; 
		
	/** 任务状态, 0:未开始, 1:正在进行, 2: 挂起, 3, 延期, 4:已结束. */
	private Long type; 
		
	/** 优先级 */
	private Long priority; 
		
	/**  项目状态, 0:未开始, 1:正在进行, 2: 挂起, 3, 延期, 4:已结束. */
	private Integer status; 
			
	/** 由谁来打开 */
	private String openedby; 
	
	/** 由谁来建立 */
	private String createBy;
	
	private String createByRealName;
		
	/** 分配给哪个用户 */
	private String assignedto; 
	
	private String assignedtoRealName; 

	/** 由谁结束 */
	private String finishedby; 
	
	private String finishedbyRealName; 

	/** 由谁来取消 */
	private String canceledby; 
	
	private String canceledbyRealName; 

	/** 有谁来关闭 */
	private String closedby;
	
	private String closedbyRealName;
	
	/** 开始时间 **/
	private Date startDate;
	
	/** 结束时间 **/
	private Date endDate;
	
	/** 查询所有的任务，从所有的任务列表中查询 **/
	private boolean queryAllTask = false;
	
	/** 时间搜索格式 参见SearchTimeModeEnum**/
	private Integer searchTimeMode;

	/** 用户名 **/
	private String userName;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public Long getModuleId() {
		return moduleId;
	}

	public void setModuleId(Long moduleId) {
		this.moduleId = moduleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	public Long getPriority() {
		return priority;
	}

	public void setPriority(Long priority) {
		this.priority = priority;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOpenedby() {
		return openedby;
	}

	public void setOpenedby(String openedby) {
		this.openedby = openedby;
	}

	public String getAssignedto() {
		return assignedto;
	}

	public void setAssignedto(String assignedto) {
		this.assignedto = assignedto;
	}

	public String getFinishedby() {
		return finishedby;
	}

	public void setFinishedby(String finishedby) {
		this.finishedby = finishedby;
	}

	public String getCanceledby() {
		return canceledby;
	}

	public void setCanceledby(String canceledby) {
		this.canceledby = canceledby;
	}

	public String getClosedby() {
		return closedby;
	}

	public void setClosedby(String closedby) {
		this.closedby = closedby;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getSearchTimeMode() {
		return searchTimeMode;
	}

	public void setSearchTimeMode(Integer searchTimeMode) {
		this.searchTimeMode = searchTimeMode;
	}

	public String getAssignedtoRealName() {
		return assignedtoRealName;
	}

	public void setAssignedtoRealName(String assignedtoRealName) {
		this.assignedtoRealName = assignedtoRealName;
	}

	public String getFinishedbyRealName() {
		return finishedbyRealName;
	}

	public void setFinishedbyRealName(String finishedbyRealName) {
		this.finishedbyRealName = finishedbyRealName;
	}

	public String getCanceledbyRealName() {
		return canceledbyRealName;
	}

	public void setCanceledbyRealName(String canceledbyRealName) {
		this.canceledbyRealName = canceledbyRealName;
	}

	public String getClosedbyRealName() {
		return closedbyRealName;
	}

	public void setClosedbyRealName(String closedbyRealName) {
		this.closedbyRealName = closedbyRealName;
	}

	public boolean isQueryAllTask() {
		return queryAllTask;
	}

	public void setQueryAllTask(boolean queryAllTask) {
		this.queryAllTask = queryAllTask;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getCreateByRealName() {
		return createByRealName;
	}

	public void setCreateByRealName(String createByRealName) {
		this.createByRealName = createByRealName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getPlanId() {
		return planId;
	}

	public void setPlanId(Long planId) {
		this.planId = planId;
	}
}
